#ifndef		_LT9211_1080P60_H
#define		_LT9211_1080P60_H


#define REG_NULL 0xf1

struct regval{
	u8 addr;
	u8 val;
};

static const struct regval LT9211_SystemInt_regs[] = {
	{0xff, 0x82},
	{0x01, 0x18},
	{0xff, 0x86},
	{0x06, 0x61},
	{0x07, 0xa8},	
	{0xff, 0x87},	
	{0x14, 0x08},	
	{0x15, 0x00},	
	{0x18, 0x0f},
	{0x22, 0x08},	
	{0x23, 0x00},	
	{0x26, 0x0f},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_TTLRxPhy_regs0[] = {
	{0xff, 0x82},
	{0x28, 0x40},
	{0x61, 0x01},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_TTLRxPhy_regs1[] = {
	{0xff, 0x85},
	{0x88, 0x90},
	{0x45, 0x00},
	{0x47, 0x07},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_ClkDetDebug_regs[] = {
	{0xff, 0x86},
	{0x00, 0x14},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_MipiTxPhy_regs0[] = {
	{0xff, 0x82},
	{0x62, 0x00},
	{0x23, 0x02},
	{0x3b, 0x32},
	{0xff, 0x81},
	{0x20, 0xfb},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_MipiTxPhy_regs1[] = {
	{0x20, 0xff},
	{0xff, 0x86},
	{0x40, 0x80},
	{0x41, 0x01},
	{0x42, 0x23},
	{0x43, 0x40},
	{0x44, 0x12},
	{0x45, 0x34},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_MipiTxpll_regs[] = {
	{0xff, 0x82},
	{0x36, 0x03},
	{0x37, 0x28},
	{0x38, 0x44},
	{0x3a, 0x92}, //120MHZ
	{0xff, 0x87},
	{0x13, 0x00},
	{0x13, 0x80},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_SetTxTiming_regs0[] = {
	{0xff, 0xd4},
	{0x04, 0x01},
	{0x05, 0x01},
	{0x06, 0x01},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_SetTxTiming_regs1[] = {
	{0x0a, 0x00},
	{0x0b, 0x01},
	{REG_NULL, 0x00},
};

static const struct regval LT9211_SetTxTiming_regs2[] = {
	{0x0e, 0x00},
	{0x0f, 0x00},
	{REG_NULL, 0x00},
};

static const struct regval  LT9211_MipiTxDigital_regs[] = {
	{0xff, 0xd4},
	{0x1c, 0x30},
	{0x1d, 0x0a},
	{0x1e, 0x06},
	{0x1f, 0x0a},
	{0x21, 0x00},
	{0xff, 0xd4},
	{0x12, 0x24},
	{0x15, 0x01},
	{0x16, 0x55},
	{0x10, 0x01},
	{0x11, 0x50},
	{0x13, 0x0f},
	{0x14, 0x20},
	{0x21, 0x02},
	{0xff, 0xd0},
	{0x04, 0x10},
	{REG_NULL, 0x00},
};





/*
u8 sync_polarity;
u8 vs;
u8 hs[2];
u8 vbp;
u8 vfp;
u8 hbp[2];
u8 hfp[2];
u8 vtotal[2];
u8 htotal[2];
u8 vact[2];
u8 hact[2];
u8 val;
*/





#endif
/**********************END OF FILE******************/

